
import os

BASE_DIR=os.path.dirname(os.path.dirname(__file__))
# print(BASE_DIR)  F:\pycharm\test_wms

LOGGER_DIR=os.path.join(BASE_DIR,"logs")
# print(LOGGER_DIR)

INFO_FILE=os.path.join(LOGGER_DIR,"info_logs")
ERROR_FILE=os.path.join(LOGGER_DIR,"error_logs")
# print(INFO_FILE)


def yaml_file(yaml_name):
    YAML_DIR=os.path.join(BASE_DIR,"datas")
    YAML_FILE=os.path.join(YAML_DIR,yaml_name)
    return YAML_FILE

#封装allure路径
REPORT_DIR=os.path.join(BASE_DIR,"reports")
REPORT_JSON=os.path.join(REPORT_DIR,"allure_json")
REPORT_HTML=os.path.join(REPORT_DIR,"allure_html")


#封装case存放路径
CASES_FILE=os.path.join(BASE_DIR,"test_cases")